package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.dto.UserDto;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/26 9:04
 * @description: 黑名单修改请求消息
 */
@Getter
@Setter
@ToString
public class BlacklistModifyRequestMessage extends RequestMessage {
    @Serial
    private static final long serialVersionUID = -4695589590263645427L;
    private UserDto owner;
    private UserDto guest;
    private boolean isAdd;

    public BlacklistModifyRequestMessage(UserDto owner, UserDto guest, boolean isAdd) {
        this.owner = owner;
        this.guest = guest;
        this.isAdd = isAdd;

    }

    @Override
    public int getMessageType() {
        return BlacklistModifyRequestMessage;
    }
}
